package cn.com.roy.thread.t7_1_1.statetest1;

public class MyThread extends Thread {
    public MyThread(){
        System.out.println("构造方法中的状态：" + Thread.currentThread().getState());

    }

    @Override
    public void run() {
        super.run();
        System.out.println("run方法中的状态：" + Thread.currentThread().getState());
    }
}
